<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
		"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
		"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="org.myclients.domain">
	<class name="Login">
		<id name="id">
			<generator class="identity" />
		</id>
		<property name="name" />
		<property name="password" />
		<property name="enabled" />
		<many-to-one name="client" column="client_id" class="Client" />
	</class>
</hibernate-mapping>